package com.ruoyi.mushcoin.domain.bo;

import com.ruoyi.common.orm.core.domain.BaseEntityTo;
import com.ruoyi.mushcoin.domain.TgMessageNotice;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * TG消息通知业务对象 tg_message_notice
 *
 * @author billy
 * @date 2025-03-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TgMessageNotice.class, reverseConvertGenerate = false)
public class TgMessageNoticeBo extends BaseEntityTo {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 公告状态（0正常 1关闭）
     */
    @NotBlank(message = "公告状态（0正常 1关闭）不能为空")
    private String status;

    /**
     * 公告内容
     */
    @NotBlank(message = "公告内容不能为空")
    private String content;


}
